<?php ob_start();
include("mysql.php");
$opid=$_POST['opid'];

//echo($opid);


            $code=0;
            //$array=array();

                $ver=mysql_query("SELECT * FROM user where opid = '$opid' ");
            
            
            $result=mysql_fetch_assoc($ver);
            
            $data=array(
                'nickName'=>$result['name'],
                'time'=>$result['time'],
                'avatarUrl'=>$result['port'],
                'pho_num'=>$result['pho_num'],
                );
	        	  $ret=array(
	        	      'code' => $code,
        		      'data' => $data,
        		  );
            header('Content-Type:application/json; charset=utf-8');
            echo(json_encode($ret,JSON_UNESCAPED_UNICODE));


?>